hvm: Fix get_immediate() in mmio decoder by reverting Dexuan Cui's
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 16 Apr 2007 16:47:37 +0000 (17:47 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 16 Apr 2007 16:47:37 +0000 (17:47 +0100)
commit7584e4be286e43ccfda4c8435549cd22d73200b7
treebbb1b35daf2c6eb8080a2735c4877f5d5e3f0a00
parent2124081013268c9bfbad97b184bd999d37876b8c
hvm: Fix get_immediate() in mmio decoder by reverting Dexuan Cui's
change that breaks the case mod==0, rm==4, sib&7==5. That is,
disp32(scaled-index).
Also simplify get_immediate with sign extension.
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/hvm/platform.c